// import loading from "./loading/index"
// import fileDir from "./fileDir/index"
// import icon from "./icon/index"
// import button from "./button/index"
// import header from "./header/index"
// import dir from "./dir/index"
// import zoom from "./zoom/index"

// import {default as a} from "./zoom/zoom.vue"
// console.log("a:",a);
// console.log("zoom:",zoom);
// console.log("zoom===a:",zoom===a);
const components={}

for (const [key,component] of Object.entries(import.meta.glob("./*/index.js", { eager: true }))) {
	components[key.split("/")[1]]=component
	
}
// export default{
// 	loading,
// 	fileDir,
// 	icon,
// 	button,
// 	dir,
// 	header
// }
export default components